package com.qf.mapper;

import com.qf.entity.YuYueOrder;
import com.qf.entity.YuYueOrderDTO;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface YuYueOrderMapper {
    List<YuYueOrder> queryAllOrderPage(YuYueOrderDTO yuYueOrderDTO);

    boolean YuYueOrderDelete(int id);

    List<YuYueOrder> getOrderNum();

    boolean YuYueOrderDeleteAll(@Param("ids") List<Integer> ids);

    boolean YuYueOrderUpdate(YuYueOrder yuYueOrder);

    boolean YuYueOrderAdd(YuYueOrder yuYueOrder);

    void insertBatch(@Param("cachedDataList") List<YuYueOrder> cachedDataList);

    List<HashMap<String, Object>> getStatusRate();

}
